/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mysimpatico.sqlwrapper;

import com.mysimpatico.sqlwrapper.SqlWrapper.SelectOption;

/**
 *
 * @author simpatico
 */
public class SqlWrapper1 {

    public static SelectCoreQuery select(final SelectOption selectOptions, final Column[] cols, final SelectableFrom[] tables) {
        final SelectCoreQueryBuilder selectCoreQueryBuilder = new SelectCoreQueryBuilder();
        selectCoreQueryBuilder.buildResult(tables, cols);
        selectCoreQueryBuilder.buildSelectOption(selectOptions);
        return (SelectCoreQuery) selectCoreQueryBuilder.getResult();
    }

}
